package com.szqhyxj.youxiangju.biz.onlineChannel;

import com.szqhyxj.youxiangju.BasePresenter;
import com.szqhyxj.youxiangju.PromptView;

import java.util.List;

interface OnlineChannelContract {

    interface View extends PromptView {
        void showChannelList(List<ChannelModel.RowsItem> data);

        void showToast(String s);

        void showRefresh(boolean isRefresh);

        void showreceipt(ChannelModel.RowsItem rows);

        void enshowSMSview();

        void showPage(String url);

        void showNone();


    }

    interface Presenter extends BasePresenter {
        void initChannelList(String cardId, String tradeType);

        void getMessage(String cardId, String channelId, String frontUrl,int type);

        void commitSms(String smsCode ,String cardId,String channelId);
    }

}